package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.bean.Goods;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.ChooseGiftSingleHolder;

/** 换购商品 - 单个商品 ListItem */
public class ChooseGiftSingleListItem extends DisplayListItem<ChooseGiftSingleHolder, Goods> {

    public ChooseGiftSingleListItem(Goods s) {
        super(s);
    }

    @Override
    public void onShow(Context context, ChooseGiftSingleHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return ChooseGiftSingleListItem.class.getSimpleName();
    }

    @Override
    public Class<ChooseGiftSingleHolder> getViewHolderClazz() {
        return ChooseGiftSingleHolder.class;
    }
}
